package com.leyou.common.constants;

import lombok.Getter;

@Getter
public enum RegexPatterns {

      PHONE_REGEX("/^([a-z0-9_\\.-]+)@([\\da-z\\.-]+)\\.([a-z\\.]{2,6})$/"),
      EMAIL_REGEX("/^1([38][0-9]|4[579]|5[0-3,5-9]|6[6]|7[0135678]|9[89])\\d{8}$/");
      private final String reg;
      RegexPatterns(String reg) {
            this.reg = reg;
      }
}
